From: Michael Albinus Date: Fri, 19 Mar 2010 10:29:02 +0000 (+0100) Subject: * auth-source.el (netrc-machine-user-or-password): Autoload. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8351 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f60cb75e2b91d7765c52c4151771b3c9533b648d;p=emacs.git * auth-source.el (netrc-machine-user-or-password): Autoload. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index adfdf06438f..b8c372a3920 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2010-03-19 Michael Albinus + + * auth-source.el (netrc-machine-user-or-password): Autoload. + 2010-03-19 Glenn Morris Stop message.el from loading about 40 libraries it doesn't always need. diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 284e6e911bd..82c9ea8a44d 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el @@ -34,7 +34,7 @@ (require 'gnus-util) (eval-when-compile (require 'cl)) -(eval-when-compile (require 'netrc)) +(autoload 'netrc-machine-user-or-password "netrc") (defgroup auth-source nil "Authentication sources." @@ -86,7 +86,7 @@ If the value is a function, debug messages are logged by calling that function using the same arguments as `message'." :group 'auth-source :version "23.1" ;; No Gnus - :type `(choice + :type `(choice :tag "auth-source debugging mode" (const :tag "Log using `message' to the *Messages* buffer" t) (function :tag "Function that takes arguments like `message'") @@ -145,7 +145,7 @@ Each entry is the authentication type with optional properties." ;; we also check the value (when auth-source-debug (let ((logger (if (functionp auth-source-debug) - auth-source-debug + auth-source-debug 'message))) (apply logger msg))))